package com.chentongwei.spring.annotation.factorybean;

import com.chentongwei.spring.annotation.factorybean.factory.ColorFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author TongWei.Chen 2018-07-06 10:13:31
 * @Description:
 * @Project spring-annonation
 */
@Configuration
public class MainConfig {

    @Bean
    public ColorFactoryBean colorFactoryBean() {
        return new ColorFactoryBean();
    }

}